package grape.workflow.rest.flowable.ui.admin;

import org.flowable.ui.admin.properties.FlowableAdminAppProperties;
import org.flowable.ui.admin.service.engine.CmmnTaskService;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;

/**
 * Created by yangwei
 * Created at 2020/6/4 13:25
 */

@EnableConfigurationProperties(FlowableAdminAppProperties.class)
@ComponentScan(basePackages = {
        "org.flowable.ui.admin.repository",
        "org.flowable.ui.admin.service",
        //"org.flowable.ui.admin.security",
        //"org.flowable.ui.admin.conf",
},        excludeFilters = {
        // 排除这个，因为命名冲突，重写了
        @ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, value = CmmnTaskService.class),
}
)
@Configuration
public class AdminApplicationConfiguration {

}
